package com.gcxy.vo.semester;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gcxy.core.PageVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * Copyright (C), 2024-2024, BUG闭退！
 * Author: Huang先森
 * Date: 2024/7/30 15:52
 * FileName: SemesterPageVo
 * Description:
 */
@Data
@ApiModel(value = "SemesterPageVO", description = "学期分页查询响应信息")
public class SemesterPageVO {

    @ApiModelProperty("学期id")
    private Integer id;

    @ApiModelProperty("学期名称")
    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("学期开始时间")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("学期结束时间")
    private LocalDateTime endTime;


}
